package com.dlc.commonlibrary.widget.photoSelect;

import android.app.Activity;
import android.widget.ImageView;
import com.lzy.imagepicker.loader.ImageLoader;

/**
 * 作者：create by zzy on 2017/3/20 14:41
 * 邮箱：kevinchung0769@gmail.com
 * 选择图片器的回调接口
 */

public class PicassoImageLoader implements ImageLoader {

    @Override
    public void displayImage(Activity activity, String path, ImageView imageView, int width, int height) {

        GlideUtil.loadImg(activity,path,imageView);
    }


    //@Override
    //public void displayImagePreview(Activity activity, String path, ImageView imageView, int width, int height) {
    //
    //}

    @Override
    public void clearMemoryCache() {

    }
}
